/**
 * 套餐相关API
 */

const request = require('../utils/request');// 根据分类id查询套餐
const getSetmealList = (categoryId) => {
  return request.get('/user/setmeal/list', { categoryId });
};

// 根据套餐id查询包含的菜品
const getSetmealDishes = (id) => {
  return request.get(`/user/setmeal/dish/${id}`);
};

module.exports = {
  getSetmealList,
  getSetmealDishes
};